﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Pixysoft
{
    /// <summary>
    /// 没有异常的声明
    /// </summary>
    public class NoExceptionAttribute : Attribute
    {
    }

    /// <summary>
    /// 异常返回值的声明
    /// </summary>
    public class ExceptionReturnAttribute : Attribute
    {
        object _exceptionReturn;

        public ExceptionReturnAttribute(object exceptionReturn)
        {
            this._exceptionReturn = exceptionReturn;
        }

        public object ExceptionReturn
        {
            get { return _exceptionReturn; }
            set { _exceptionReturn = value; }
        }

    }

}
